﻿<%@ Page Language="C#" MasterPageFile="~/User/User.master" AutoEventWireup="true" CodeFile="User_ChiTietMatHang.aspx.cs" Inherits="User_User_ChiTietMatHang" Title="Untitled Page" %>

<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<style type="text/css">
@import "jquery.countdown.css";

.defaultCountdown<%=1%> {width: 110px; height: 45px; }
</style>

                                                             <script type="text/javascript">
$(function () {
	shortly = new Date(); 
    shortly.setSeconds(shortly.getSeconds() + <%=sogiay%>); 
	$('.defaultCountdown<%=1%>').countdown({onExpiry: liftOff,until: shortly});
});
function liftOff() { 
    $.ajax({
      type: "GET",
      url: "Default.aspx",
      data: { id: "<%=Request.QueryString["id"] %>"}
    }).done(function( ) {
        window.location = "Default.aspx?id=<%=Request.QueryString["id"]%>";
       
    });
} 
</script>
    <table style="width: 936px; height: 113px;background:#d3d4d2" align="center" >
    
        <tr>
            <td style="width: 163px; height: 67px;" align="center">
                <asp:Label ID="lb_loigioithieu" runat="server" Height="102px" Text="Label" Width="794px" style="list-style-type: disc"></asp:Label></td>
            <td style="width: 100px; height: 67px;">
            </td>
        </tr>
        <tr>
            <td style="width: 163px; height: 270px;">
                <div style="text-align: left">
                    <table border="0" style="width: 596px; height: 19px; background-image: url(User/hinh/chitiet_nap.bmp); background-color: transparent;">
                        <tr>
                            <td style="width: 3px; height: 144px; background-color: #6d747d;">
                                <img src="../User/hinh/chitiet_nap.bmp" style="width: 194px; height: 52px;" />
                                <table style="width: 142px; height: 96px; background-color: #5c5c5d;" align="center">
                                    <tr>
                                        <td style="width: 134px; height: 21px" align="center"> &nbsp;<asp:Label ID="lbgia" runat="server" Text="giaban" Width="173px"></asp:Label></td>
                                    </tr>
                                    <tr >
                                        <td style="width: 134px; height: 9px" align="center" >
                                            <asp:HyperLink ID="hyl_mua" runat="server" ImageUrl="~/User/hinh/nut_mua.bmp" Width="166px"></asp:HyperLink>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 134px; height: 19px;" align="center">
                                            <asp:Label ID="Label2" runat="server" Text="Label" Width="175px"></asp:Label></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 134px; height: 85px;">
                                            <table style="width: 186px; height: 48px">
                                                <tr>
                                                    <td style="width: 28px; height: 30px">
                                                        <asp:Label ID="Label4" runat="server" Font-Bold="True" Font-Size="7pt" Height="19px"
                                                            Text="Tiết kiệm" Width="52px" ForeColor="White"></asp:Label></td>
                                                    <td style="width: 31px; height: 30px">
                                                        <asp:Label ID="Label5" runat="server" Font-Bold="True" Font-Size="7pt" ForeColor="White"
                                                            Height="19px" Text="Người mua" Width="52px"></asp:Label></td>
                                                    <td style="width: 79px; height: 30px">
                                                        <asp:Label ID="Label6" runat="server" Font-Bold="True" Font-Size="7pt" ForeColor="White"
                                                            Height="19px" Text="Cơ hội còn lại" Width="67px" style="text-align: center"></asp:Label></td>
                                                </tr>
                                                <tr>
                                                    <td style="width: 28px; height: 40px;" align="justify">
                                                        <asp:Label ID="lbtietkiem" runat="server" Font-Bold="True" Font-Size="7pt" ForeColor="White"
                                                            Height="19px" Text="tiết kiệm" Width="52px"></asp:Label></td>
                                                    <td style="width: 31px; height: 40px;" align="center">
                                                        <asp:Label ID="Label8" runat="server" Font-Bold="True" Font-Size="X-Large" ForeColor="White"
                                                            Height="1px" Text="tiết kiệm" Width="44px"></asp:Label></td>
                                                    <td style="width: 79px; height: 40px;" align="center">
                                                        <asp:Label ID="lbsocohoi" runat="server" Font-Bold="True" Font-Size="20pt" ForeColor="#80FF80"
                                                            Height="25px" Text="tiết kiệm" Width="52px" Font-Underline="False"></asp:Label></td>
                                                </tr>
                                            </table>
                                            <asp:Label ID="lit_socohoiconlai" runat="server" Text="Vẫn còn mua được" ForeColor="Yellow" Width="183px" style="text-align: center"></asp:Label></td>
                                    </tr>
                                </table>
                                <img src="../User/hinh/nutcuoi%20copy.png" style="width: 194px; height: 64px" /></td>
                            <td style="width: 100px; height: 144px; vertical-align: top; text-align: left;">
                                <asp:Image ID="i_hinhanh" runat="server" Height="318px" Width="643px" /></td>
                        </tr>
                    </table>
                </div>
                <table style="width: 865px">
                    <tr>
                        <td style="width: 78px; vertical-align: middle; text-align: center;" align="justify">
                            <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="Larger" ForeColor="Red"
                                Text="Đặc Điểm Nổi Bật" Width="204px"></asp:Label></td>
                        <td style="width: 100px; vertical-align: middle; text-align: center;">
                            <asp:Label ID="Label3" runat="server" Font-Bold="True" Font-Size="Larger" ForeColor="Red"
                                Text="Điều Kiện Sử Dụng" Width="216px"></asp:Label></td>
                    </tr>
                </table>
                <div >
                    <table style="width: 773px; height: 229px">
                        <tr>
                            <td style="width: 69px; height: 20px; vertical-align: top; text-align: left;">
                                <FTB:FreeTextBox ID="FreeTextBox1" runat="server" enablehtmlmode="False" enabletoolbars="False"
        readonly="True"   width="425px">
                                </FTB:FreeTextBox>
                            </td>
                            <td style="width: 100px; height: 20px; vertical-align: top; text-align: left;">
                                <FTB:FreeTextBox ID="FreeTextBox2" runat="server" enablehtmlmode="False" enabletoolbars="False"
        readonly="True" updatetoolbar="False" usetoolbarbackgroundimage="True" width="425px">
                                </FTB:FreeTextBox>
                            </td>
                        </tr>
                    </table>
                
                    </div>
                </td>
        </tr>
        <tr>
            <td style="width: 163px; height: 316px; text-align: center;">
                <table style="width: 813px; height: 22px">
                    <tr>
                        <td style="width: 33px; height: 354px; background-color: #747881; vertical-align: top; text-align: left; color: #ffffff;">
                            <asp:Label ID="lbcuahang" runat="server" Font-Bold="True" Font-Size="Large" ForeColor="White"
                                Text="Label" Width="166px"></asp:Label><br />
                            <br />
                        </td>
                        <td style="width: 102px; height: 354px; vertical-align: top; text-align: left;">
                            &nbsp;<asp:Label ID="lb_mota" runat="server"  Text="lb_mota" Width="640px" ForeColor="White"></asp:Label></td>
                    </tr>
                </table>
                <asp:Image ID="i_bando" runat="server" Height="296px" 
                    Width="862px" /></td>
        </tr>
        <tr>
            <td style="width: 163px; vertical-align: top; text-align: left;" align="center">
                <br />
                <table style="width: 829px; height: 37px">
                    <tr>
                        <td rowspan="2" style="width: 76px">
                            <asp:Literal ID="lit_gia" runat="server"></asp:Literal></td>
                        <td rowspan="2" style="width: 39px">
                            <asp:HyperLink ID="hpl_muacuoi" runat="server" ImageUrl="~/User/hinh/nut_mua.bmp">HyperLink</asp:HyperLink></td>
                        <td style="width: 61px; height: 21px" align="center">
                            Tiết kiệm
                        </td>
                        <td style="width: 100px; height: 21px" align="center">
                            Số người mua</td>
                        <td style="width: 99px; height: 21px" align="center">
                            Thời gian còn lại</td>
                    </tr>
                    <tr>
                        <td style="width: 61px" align="center">
                            <asp:Literal ID="lit_tietkiemcuoi" runat="server"></asp:Literal></td>
                        <td style="width: 100px" align="center">
                            <asp:Literal ID="lit_songuoimua" runat="server"></asp:Literal></td>
                        <td style="width: 99px" align="center">
                           <div style="text-align:center" class="defaultCountdown<%=1%>"> </div>
                                                                     
                            
                            
                            </td>
                    </tr>
                </table>
            </td>
            <td style="width: 100px">
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    &nbsp;
</asp:Content>

